import {Component, OnInit, ViewEncapsulation, Input} from '@angular/core';

import {EventsService} from "@core/events/events.service";
import {GoodsFieldRespVO} from "@interface/index";


@Component({
  selector: 'seed-goods-spec',
  templateUrl: './goods-spec.component.html',
  styleUrls: ['./goods-spec.component.scss'],
  encapsulation: ViewEncapsulation.None,
})
export class GoodsSpecComponent implements OnInit {
  @Input() baseInfoList: Array<GoodsFieldRespVO>;

  constructor(private events: EventsService) {
  }

  closeModal() {
    this.events.publish('modal:close');
  }

  ngOnInit() {
  }

}
